<?php
$fb = new FormBuilder('person', $searchForm);
$fb->setAction('/admin/person/search');
$fb->text('first_name');
$fb->text('last_name');
$fb->comboBox('gender', $genderOptions);
$fb->spacer();
$fb->text('street');
$fb->text('city');
$fb->comboBox('country_code', $countryOptions);

$fb->spacer();
$fb->text('email');
$fb->yesNoBox('is_ztp');

$fb->spacer();
$fb->selectMany('person_tag_ids', $personTagOptions);

$fb->yesNoBox('exclude_uninterested');

$fb->submitButton('button.search');
$fb->write();

